Automattic\Jetpack\Waf\Waf_Request A

Total Complexity 61
Dependencies 1
Dependents 1
Total lines 355
Lines of code 170
Logical lines of code 85
Comment lines 153
Methods 19
Properties 3

Methods 19

Method Rating Maintainability Complexity Lines of code
get_url()
A
44 16 42
get_headers()
A
52 9 24
get_files()
S
56 5 19
get_ip_by_header()
S
60 5 13
get_real_user_ip_address()
S
63 4 10
get_header()
S
65 3 9
get_method()
S
72 2 5
get_protocol()
S
72 2 5
get_uri()
S
74 2 4
get_basename()
S
67 2 7
get_body()
S
75 2 4
get_post_vars()
S
67 2 7
normalize_header_name()
S
78 1 3
set_trusted_headers()
S
80 1 3
get_filename()
S
80 1 3
get_query_string()
S
80 1 3
get_cookies()
S
80 1 3
get_get_vars()
S
80 1 3
set_trusted_proxies()
S
80 1 3